package cn.com.aiouyi.service.impl;

import cn.com.aiouyi.dao.ArticleClassDao;
import cn.com.aiouyi.entity.Article;
import cn.com.aiouyi.entity.ArticleClass;
import cn.com.aiouyi.service.ArticleClassService;
import cn.com.aiouyi.service.ArticleService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.List;

/**
 * Created by tommy on 2018/4/11.
 */
@Transactional
@Service(value = "articleClassServiceImpl")
public class ArticleClassServiceImpl extends BaseServiceImpl<ArticleClass, Long> implements ArticleClassService {

    @Resource(name = "articleClassDaoImpl")
    private ArticleClassDao articleClassDao;

    @Override
    public ArticleClass findExist(String name) {
        return articleClassDao.findExist(name);
    }
}
